package com.cheung.leetcode.normal;

public class LC8 {


    public static int myAtoi(String s) {
        StringBuilder sb = new StringBuilder();
        int result = 0;
        boolean flag = true; // 正数
        for (char c : s.toCharArray()) {

        }


        return result;
    }

    public static void main(String[] args) {
        String s = "-+12";
        System.out.println(myAtoi(s));

        System.out.println(-1 << 31);
        System.out.println((1 << 31) - 1);
    }
}
